Skip to content

Fixed incorrect Repeat.total_time_remaining. (#498) #499

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 19, 2025

Conversation

CookStar
Copy link
Contributor

@CookStar CookStar commented Nov 10, 2024

Fix for #498.

Changed Repeat.total_time_remaining to return 0 since there is no rational reason for it to return None when there is no delay or when Repeat is finished.

@CookStar
Copy link
Contributor Author

Changed Delay to return 0 instead of None for Delay.time_remaining and Delay.time_elapsed.

@Ayuto
Copy link
Member

Ayuto commented Apr 19, 2025

Thank you!

@Ayuto Ayuto merged commit 1bd1750 into Source-Python-Dev-Team:master Apr 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants